<?php $this->load->view("common/header") ?>
<script type="text/javascript">
$(function() {
	//	$( "#job_start" ).datepicker({ dateFormat: 'yy-mm-dd' });
	});
</script>
<body>
  <div id="page_wrapper">
<?php $this->load->view("common/speel") ?>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td  align="left" valign="top"><?php $this->load->view("nav/main") ?></td>
      <td width="1265" valign="top">  
	  <div id="crum">
<?php echo $crum ?>
</div>
	  <table width="100%" border="0" cellspacing="0" cellpadding="5">
	    <tr>
	      <td class="pageMsg">Lookup settings are core system settings, changing these values can effect how the system functions. <br>
          If you do not no what each lookup pare does, for the love of god  leave it alone!!!</td>
        </tr>
	    <tr>
	      <td><table width="79%" border="0" cellpadding="2" cellspacing="0">
	        <tr class="panelHeaderBgColor">
	          <td width="23%">Type</td>
	          <td width="18%">Label</td>
	          <td width="35%">Value</td>
	          <td width="20%">Created at</td>
	          <td width="4%">&nbsp;</td>
	          </tr>
              
             <?php foreach($lus as $lu) { ?>
	        <tr class="tblBody">
	          <td><?php echo $lu['lu_type'] ?></td>
	          <td><?php echo $lu['lu_lable'] ?></td>
	          <td><?php echo $lu['lu_value'] ?></td>
	          <td><?php echo $lu['created'] ?></td>
	          <td align="center">
	            <input name="button2" type="button" class="tblBtn" id="button2" value="Edit" 
                onClick="$(redirect('<?php echo base_url() ."admin/lookupedit/".$lu['id'] ?>'))">
	
	         </td>
	          </tr>
              <?php } ?>
              
          </table></td>
        </tr>
      </table>	  <br></td>
    </tr>
</table>

<?php $this->load->view("common/footer") ?>
</div>
</body>
</html>
